<%@page contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<html>
    <head>
        <title>${pageTitle}</title>
    </head>
    <body>
        <h2>${pageTitle}</h2>
        <c:if test="${not empty error}">
            <div style="border: solid 1px red; background-color: yellow; padding: 10px">
                <c:out value="${error}"/>
            </div>
        </c:if>
        <form action="${pageContext.request.contextPath}//AddSeminar" method="post">
        <table>
            <tr>
                <td>${subjectName}:</td>
                <td><input type="text" name="subjectName" /></td>
            </tr>
            <tr>
                <td>${subjectCode}:</td>
                <td><input type="text" name="subjectCode" /></td>
            </tr>
            <tr>
                <td>${seminarNumber}:</td>
                <td><input type="text" name="seminarNum" /></td>
            </tr>
        </table>
        <input type="Submit" value="${pageTitle}" />
        </form>
    </body>
</html>